package com.yonyou.cyxdms.basedata.client.util;

import com.yonyou.cyxdms.basedata.client.constants.BaseDataDictConstants;

import java.util.HashMap;
import java.util.Map;

/**
 * 条件
 *
 * @author renwd
 * @since 2018/12/11
 */
public class ConditionMapUtils {

    private ConditionMapUtils() {}

    /**
     * 公共的封装map的方法
     *
     * @param
     * @return java.util.Map<java.lang.String,java.lang.Object>
     * @author renwd
     * @since 2018/12/11
     */
    public static Map<String, Object> conditionMap(String appId, String ownerCode) {
        Map<String, Object> dataMap = new HashMap<>();
        dataMap.put("appId", appId);
        dataMap.put("ownerCode", ownerCode);
//        dataMap.put("isValid", BaseDataDictConstants.IS_VALID);
        return dataMap;
    }

}
